package de.greenrobot.daoexample.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by squall on 2015/8/17.
 */
public class TopicDetailItem implements Serializable {
    private String cover_link;
    private String title;
    private String intro;
    private List<String> labels=new ArrayList<>();
    private List<Recommend> recommend=new ArrayList<>();
    private int special;

    public String getCover_link() {
        return cover_link;
    }

    public void setCover_link(String cover_link) {
        this.cover_link = cover_link;
    }

    public TopicDetailItem(String title, String intro, List<Recommend> recommend, int special) {
        this.title = title;
        this.intro = intro;
        this.recommend = recommend;
        this.special = special;
    }

    public TopicDetailItem() {
    }

    public String getTitle() {
        return title;
    }

    public String getIntro() {
        return intro;
    }

    public List<Recommend> getRecommend() {
        return recommend;
    }

    public int getSpecial() {
        return special;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public void setRecommend(List<Recommend> recommend) {
        this.recommend = recommend;
    }

    public void setSpecial(int special) {
        this.special = special;
    }

    @Override
    public String toString() {
        return "TopicDetailItem{" +
                "cover_link='" + cover_link + '\'' +
                ", title='" + title + '\'' +
                ", intro='" + intro + '\'' +
                ", recommend=" + recommend +
                ", special=" + special +
                '}';
    }

    public List<String> getLabels() {
        return labels;
    }

    public void setLabels(List<String> labels) {
        this.labels = labels;
    }
}
